/**  
 * Project Name:jd-worker-server  
 * File Name:JdWealth.java  
 * Package Name:com.moxie.cloud.services.jdworker.dto  
 * Date:2016年6月16日下午4:52:36  
 * Copyright (c) 2016, yuandong@51dojo.com All Rights Reserved.  
 *  
*/  
  
package com.example.service.webhook.business.jingdong.entity;

import java.math.BigDecimal;
import java.util.Date;

import com.example.service.webhook.repository.base.Saveable;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

/**
 * 
 * ClassName: JdWealthEntity    
 * date: 2016年9月9日 下午3:29:09   
 * @author yuandong  
 * @version   
 * @since JDK 1.6
 */
@JsonIgnoreProperties(value = { "primaryVal", "keyColumns", "tableName" }, ignoreUnknown = true)
public class JdWealthEntity implements Saveable{
	private long id;
	private String userId;
	private String mappingId;
	private BigDecimal totalMoney;//总资产
	private BigDecimal balance;//小金库
	private BigDecimal walletMoneyAvailable;//钱包可用余额
	private BigDecimal fund;//理财金额
	
	private BigDecimal availableLimit;//白条可用额度
	private BigDecimal creditLimit;//白条总额度
	private BigDecimal creditWaitPay;//白条欠款
	private BigDecimal delinquencyBalance;//白条逾期
	
	private BigDecimal tourAvailableLimit;//旅游白条可用额度
	private BigDecimal tourCreditLimit;//旅游白条总额度
	private BigDecimal tourCreditWaitPay;//旅游白条欠款
	private BigDecimal tourDelinquencyBalance;//旅游白条逾期
	private BigDecimal netBussinessLoan;//网商贷待还款
	private Date createTime;
	private Date lastModifyTime;
	
	
	 private static final String[] keyColumns       = { "id" };
	    private static final String   tableName        = "t_jd_wealth";

	    @Override
	    public String getTableName() {
	        return tableName;
	    }

	    @Override
	    public String[] getKeyColumns() {
	        return keyColumns;
	    }
	    
	    @Override
	    public String getPrimaryVal() {
	        return String.valueOf(id);
	    }
	    

	    public long getId() {
			return id;
		}

		public void setId(long id) {
			this.id = id;
		}

		public String getMappingId() {
			return mappingId;
		}

		public void setMappingId(String mappingId) {
			this.mappingId = mappingId;
		}

		public BigDecimal getTotalMoney() {
			return totalMoney;
		}

		public void setTotalMoney(BigDecimal totalMoney) {
			this.totalMoney = totalMoney;
		}

		public BigDecimal getBalance() {
			return balance;
		}

		public void setBalance(BigDecimal balance) {
			this.balance = balance;
		}

		public BigDecimal getWalletMoneyAvailable() {
			return walletMoneyAvailable;
		}

		public void setWalletMoneyAvailable(BigDecimal walletMoneyAvailable) {
			this.walletMoneyAvailable = walletMoneyAvailable;
		}

		public BigDecimal getFund() {
			return fund;
		}

		public void setFund(BigDecimal fund) {
			this.fund = fund;
		}

		public BigDecimal getAvailableLimit() {
			return availableLimit;
		}

		public void setAvailableLimit(BigDecimal availableLimit) {
			this.availableLimit = availableLimit;
		}

		public BigDecimal getCreditLimit() {
			return creditLimit;
		}

		public void setCreditLimit(BigDecimal creditLimit) {
			this.creditLimit = creditLimit;
		}

		public BigDecimal getCreditWaitPay() {
			return creditWaitPay;
		}

		public void setCreditWaitPay(BigDecimal creditWaitPay) {
			this.creditWaitPay = creditWaitPay;
		}

		public BigDecimal getDelinquencyBalance() {
			return delinquencyBalance;
		}

		public void setDelinquencyBalance(BigDecimal delinquencyBalance) {
			this.delinquencyBalance = delinquencyBalance;
		}

		public BigDecimal getTourAvailableLimit() {
			return tourAvailableLimit;
		}

		public void setTourAvailableLimit(BigDecimal tourAvailableLimit) {
			this.tourAvailableLimit = tourAvailableLimit;
		}

		public BigDecimal getTourCreditLimit() {
			return tourCreditLimit;
		}

		public void setTourCreditLimit(BigDecimal tourCreditLimit) {
			this.tourCreditLimit = tourCreditLimit;
		}

		public BigDecimal getTourCreditWaitPay() {
			return tourCreditWaitPay;
		}

		public void setTourCreditWaitPay(BigDecimal tourCreditWaitPay) {
			this.tourCreditWaitPay = tourCreditWaitPay;
		}

		public BigDecimal getTourDelinquencyBalance() {
			return tourDelinquencyBalance;
		}

		public void setTourDelinquencyBalance(BigDecimal tourDelinquencyBalance) {
			this.tourDelinquencyBalance = tourDelinquencyBalance;
		}

		public BigDecimal getNetBussinessLoan() {
			return netBussinessLoan;
		}

		public void setNetBussinessLoan(BigDecimal netBussinessLoan) {
			this.netBussinessLoan = netBussinessLoan;
		}

		public Date getCreateTime() {
			return createTime;
		}

		public void setCreateTime(Date createTime) {
			this.createTime = createTime;
		}

		public Date getLastModifyTime() {
			return lastModifyTime;
		}

		public void setLastModifyTime(Date lastModifyTime) {
			this.lastModifyTime = lastModifyTime;
		}

		public String getUserId() {
			return userId;
		}

		public void setUserId(String userId) {
			this.userId = userId;
		}
	

	
	

}
  
